<?php /* Smarty version 2.6.19, created on 2010-11-01 16:32:03
         compiled from book_cata_inc.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'urlstr', 'book_cata_inc.html', 6, false),)), $this); ?>
<?php unset($this->_sections['i0']);
$this->_sections['i0']['name'] = 'i0';
$this->_sections['i0']['loop'] = is_array($_loop=$this->_tpl_vars['pcata0']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i0']['show'] = true;
$this->_sections['i0']['max'] = $this->_sections['i0']['loop'];
$this->_sections['i0']['step'] = 1;
$this->_sections['i0']['start'] = $this->_sections['i0']['step'] > 0 ? 0 : $this->_sections['i0']['loop']-1;
if ($this->_sections['i0']['show']) {
    $this->_sections['i0']['total'] = $this->_sections['i0']['loop'];
    if ($this->_sections['i0']['total'] == 0)
        $this->_sections['i0']['show'] = false;
} else
    $this->_sections['i0']['total'] = 0;
if ($this->_sections['i0']['show']):

            for ($this->_sections['i0']['index'] = $this->_sections['i0']['start'], $this->_sections['i0']['iteration'] = 1;
                 $this->_sections['i0']['iteration'] <= $this->_sections['i0']['total'];
                 $this->_sections['i0']['index'] += $this->_sections['i0']['step'], $this->_sections['i0']['iteration']++):
$this->_sections['i0']['rownum'] = $this->_sections['i0']['iteration'];
$this->_sections['i0']['index_prev'] = $this->_sections['i0']['index'] - $this->_sections['i0']['step'];
$this->_sections['i0']['index_next'] = $this->_sections['i0']['index'] + $this->_sections['i0']['step'];
$this->_sections['i0']['first']      = ($this->_sections['i0']['iteration'] == 1);
$this->_sections['i0']['last']       = ($this->_sections['i0']['iteration'] == $this->_sections['i0']['total']);
?><table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td style="font-weight:bold; padding-left:10px;">[<a href="book_content.php?cataid=<?php echo $this->_tpl_vars['pcata0'][$this->_sections['i0']['index']]['ID']; ?>
"><?php echo $this->_tpl_vars['pcata0'][$this->_sections['i0']['index']]['classname']; ?>
</a>]</td>
  </tr>
  <tr>
    <td style="border-bottom:solid 1px #CCC; padding: 0 10px;"><?php unset($this->_sections['i1']);
$this->_sections['i1']['name'] = 'i1';
$this->_sections['i1']['loop'] = is_array($_loop=$this->_tpl_vars['pcata0'][$this->_sections['i0']['index']]['xq']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i1']['show'] = true;
$this->_sections['i1']['max'] = $this->_sections['i1']['loop'];
$this->_sections['i1']['step'] = 1;
$this->_sections['i1']['start'] = $this->_sections['i1']['step'] > 0 ? 0 : $this->_sections['i1']['loop']-1;
if ($this->_sections['i1']['show']) {
    $this->_sections['i1']['total'] = $this->_sections['i1']['loop'];
    if ($this->_sections['i1']['total'] == 0)
        $this->_sections['i1']['show'] = false;
} else
    $this->_sections['i1']['total'] = 0;
if ($this->_sections['i1']['show']):

            for ($this->_sections['i1']['index'] = $this->_sections['i1']['start'], $this->_sections['i1']['iteration'] = 1;
                 $this->_sections['i1']['iteration'] <= $this->_sections['i1']['total'];
                 $this->_sections['i1']['index'] += $this->_sections['i1']['step'], $this->_sections['i1']['iteration']++):
$this->_sections['i1']['rownum'] = $this->_sections['i1']['iteration'];
$this->_sections['i1']['index_prev'] = $this->_sections['i1']['index'] - $this->_sections['i1']['step'];
$this->_sections['i1']['index_next'] = $this->_sections['i1']['index'] + $this->_sections['i1']['step'];
$this->_sections['i1']['first']      = ($this->_sections['i1']['iteration'] == 1);
$this->_sections['i1']['last']       = ($this->_sections['i1']['iteration'] == $this->_sections['i1']['total']);
?>  <a href="<?php echo ((is_array($_tmp='book_content')) ? $this->_run_mod_handler('urlstr', true, $_tmp, $this->_tpl_vars['pcata0'][$this->_sections['i0']['index']]['xq'][$this->_sections['i1']['index']]['ID']) : smarty_modifier_urlstr($_tmp, $this->_tpl_vars['pcata0'][$this->_sections['i0']['index']]['xq'][$this->_sections['i1']['index']]['ID'])); ?>
"><?php echo $this->_tpl_vars['pcata0'][$this->_sections['i0']['index']]['xq'][$this->_sections['i1']['index']]['classname']; ?>
</a> <?php if ($this->_tpl_vars['pcata0'][$this->_sections['i0']['index']]['xq'][$this->_sections['i1']['index']]['istrue'] == false): ?>|&nbsp;<?php endif; ?> <?php endfor; endif; ?></td>
  </tr>
</table><?php endfor; endif; ?>